package Homework01;

abstract public class Animal {
    public abstract void eat();


   /* public void method(Animal a){
        if(a instanceof Dog){
            Dog d = (Dog)a;
            d.WatchHome();
            d.eat();
        }
        else if(a instanceof Cat){
            Cat c = (Cat) a;
            c.catchMouse();
            c.eat();
        }*/



}






